using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Windows.Forms.Design;
using Widgetsphere.Generator.Models;

namespace Widgetsphere.Generator.Design.Designers
{
	internal class TableDesigner : ControlDesigner
	{
		private Table table = null;

		public override void Initialize(IComponent component)
		{
			base.Initialize (component);
			table = (Table)component;
		}

		public override DesignerVerbCollection Verbs
		{
			get
			{
        DesignerVerbCollection col = new DesignerVerbCollection();
        DesignerVerb verb = null;

				verb = new DesignerVerb("Columns", new EventHandler(this.EditColumnsHandler));
				col.Add(verb);

				verb = new DesignerVerb("Relationships", new EventHandler(this.EditRelationshipsHandler));
				col.Add(verb);

				return col;
			}
		}

		private void EditColumnsHandler(object sender, System.EventArgs e)
		{
		}

		private void EditRelationshipsHandler(object sender, System.EventArgs e)
		{
		}		

	}
}
